package com.fzj.wxpay_demo.base.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum StatusCode {

    SUCCESS(2001,"OK"),
    OPTION_SUCCESS(2001,"操作成功"),
    OPTION_FAILED(5001,"操作失败"),
    VALIDATE_ERROR(5002,"请求参数错误"),
    DATA_UNEXISTS(5004,"请求数据不存在");

    private Integer code;
    private String msg;
}
